﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Simple.Util;
namespace Simple.uploader
{
    public partial class down : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["d"] == "s")
                {
                    string[] file = { @"~/up/20130428153157143.jpg", @"~/up/20130428153204237.jpg" };
                    string zipPath = @"~/up/" + DateTime.Now.ToString("yyyyMMddhhmmss") + ".zip";
                    FileDown.ZipDown(file, zipPath);
                }
            }

        }
    }
}